<%@ page language="java"  pageEncoding="utf-8"%>
<%@ page import="com.ejoysoft.wlanyz.business.Ac,com.ejoysoft.wlanyz.business.Comunity,java.util.ArrayList,com.ejoysoft.common.Constants,com.ejoysoft.common.exception.NoRightException" %>
<%@page import="java.util.Vector"%>
<%@ include file="../include/jsp/head.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%=application.getAttribute("APP_TITLE")%></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #F8F9FA;
}
body,td,th {
	font-size: 9pt;
	color: #111111;
}
-->
</style>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<script src="../include/js/chkFrm.js"></script>
<script language="javascript">

    function chkFrm() {
        if(trim(frm.strHotPotName.value)=="") {
            alert("请输入热点名！！！")
            frm.strHotPotName.focus();
            return false;
        }
        
  
       	frm.submit();
    }
    function clearSpecialCharacter(obj) {
obj.value = obj.value.replace(/[,`~!@#$%^&*:;><|. \\/=]/g, "");
}



</script>
</head>

<body>
<form name="frm" method="post" action="hot_act.jsp">
<input type="hidden" name="<%=Constants.ACTION_TYPE%>" value="<%=Constants.ADD_STR%>">
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><img src="../images/ri_list.jpg" width="14" height="14" align="absbottom" />&nbsp;您现在所在的位置：<font color="#0e7cc9">热点信息管理</font> &gt;新增热点 </td>
  </tr>
</table>
<br>
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">

  <tr>
    <td width="6%" class="listtit1"  style="border-left:1px solid #32a4ea;">&nbsp;新增热点</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="listd" style="border-left:1px solid #dddddd;border-right:1px solid #dddddd;"><table width="702" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="20" colspan="4">&nbsp;</td>
      </tr>
      
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">地市：</td>
        <td><select name="strCity"  class="input_box">
        	<<option value=''>- - - - -请选择- - - - -</option>
                    <%
                  //从全局变量中读取参数类型
                  String city = (String)application.getAttribute("CITY");
                  String[] citys = city.split(",");
                  for (int i = 0; i < citys.length; i++) {
              %>
                <option value="<%=citys[i]%>"><%=citys[i]%></option>
              <%
                  }
              %>
                 </select></td>
        <td>&nbsp;</td>
      	</tr> 

      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">区县：</td>
        <td><input name="strTown" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
 
      <tr>
      <td align="right">&nbsp;</td>
        <td align="right" class="tdwz">一级热点：</td>
        <td><input name="strClassOneHP" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
      <td align="right">&nbsp;</td>
        <td width="100"  align="right" class="tdwz">二级热点：</td>
        <td width="262"><input type="text"  class="ipt" name="strHotPotName" onkeyup="clearSpecialCharacter(this)"   /></td>
        <td width="212">&nbsp;&nbsp;&nbsp;</td>
      </tr>
      
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">热点类型：</td>
        <td><input name="strHotPotType" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">热点地址：</td>
        <td><input name="strHotPotAddr" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      
        <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">所属AC：</td>
        <td><input name="strAC" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      
      <tr>
        <td align="right">&nbsp;</td>
        <td align="right" class="tdwz">经度：</td>
        <td><input name="strLongitude" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
           
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">纬度：</td>
        <td><input name="strLatitude" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
          
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">覆盖类型：</td>
        <td><input name="strArea" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
          
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">覆盖技术：</td>
        <td><input name="strTechonlog" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>

      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">热点等级：</td>
        <td><input name="strHotPotGrade" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">维护人员ID：</td>
        <td><input name="strWhPersonId" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
		<td align="right">&nbsp;</td>
        <td align="right" class="tdwz">操作人：</td>
        <td><input name="strCreator" type="text"  class="ipt"/></td>
        <td>&nbsp;</td>
      </tr>
        
      <tr>
		<td align="right">&nbsp;</td>
        <td height="50" align="left">&nbsp;&nbsp;</td>
        <td height="50" colspan="2" align="left"><input name="B1" type="button"   value="确  定" onclick="chkFrm()"  class="ipt1" style="cursor:hand"/>
          &nbsp;<input  name="B12" type="reset"  value="取 消" class="ipt2" style="cursor:hand"/>
          &nbsp;<input name="B12" type="button"  onclick="window.location.href='hot_list.jsp';" value="返 回" class="ipt2" style="cursor:hand"/></td>
        </tr>
    </table>
      <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p></td>
  </tr>
</table>
</form>
</body>
</html>
<%@ include file="../include/jsp/footer.jsp"%>